const mongoose = require('mongoose')

const hotSchema = new mongoose.Schema({
    count:Number,
    filmId:{
        type: mongoose.Schema.Types.ObjectId,
        ref: "filmModel"
    }
})

module.exports = mongoose.model('hotModel',hotSchema,'hots');